package lab02.test36;

public class Postgraduate extends Student{

    String postgraduateGrade(double avg) {
        if(avg>=90){
            grade = "优秀";
        }else if(avg>=80){
            grade = "良好";
        }else if (avg>=70){
            grade = "一般";
        }else if (avg>=60){
            grade = "及格";
        }else {
            grade = "不及格";
        }

        return grade;
    }
}
